login = document.getElementsByTagName("a")
for ( i = 0; i < login.length; i++)
{
    if (login[i].className == "user-nick"){
        console.log(login[i].innerHTML)
      //  return login[i].InnerHTML
    }
}
//alert("找不到淘宝用户")
//return "ERROR"